package com.guigu.buy.mapper;

import com.guigu.buy.pojo.Cart;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author com.guigu
 * @since 2024-05-15
 */
public interface CartMapper extends BaseMapper<Cart> {
    int insertCart(Cart cart);

    List<Cart> showCart(Integer customerId);

    List<Cart> selectByConsumerId(Integer consumerId);
}
